import request from '@/utils/request'

export function getList(parentName,current,size) {
  return request.get("/parent/list",{params:{parentName,current,size}})
}

export function save(parent) {
  return request.post("/parent/save",parent)
}

export function update(parent) {
  return request.post("/parent/update",parent)
}

export function del(ids) {
  return request.post("/parent/remove",ids)
}

